package com.dfbz.service.impl;

import com.dfbz.dao.DeptDao;
import com.dfbz.entity.Dept;
import com.dfbz.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeptServiceImpl extends IServiceImpl<Dept> implements DeptService {

    @Autowired
    DeptDao deptDao;

    @Override
    public List<Dept> deptList() {
        return deptDao.deptList();
    }
}
